<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>招聘计划</title>

    <%@include file="/static/js/common.jsp" %>
    <script type="text/javascript" src="/static/plugins/easyui/jquery.edatagrid.js"></script>
    <script type="text/javascript" src="/static/js/recruitPlan.js"></script>
</head>
<body class="easyui-layout">
<div data-options="region:'north',title:'查询条件',split:true" style="height:20%;background:#eee;">
    <form id="plan_form2" method="get">
        <table cellspacing="0" align="center"  cellpadding="0" width="100%"
               style="margin-top: 30px";border-spacing:8px;border-collapse:separate; border-spacing:8px;>
            <tr align="center">
                <td>
                    开始日期:<input name="beginDate" class="easyui-datebox" id="unit">
                    结束日期:<input name="endDate" class="easyui-datebox" id="integral">
                    姓&nbsp;&nbsp;名:<input name="keyword" class="easyui-textbox">
                    <a href="#" class="easyui-linkbutton" data-cmd="query">查询</a>
                </td>
            </tr>
        </table>
    </form>
</div>
<div data-options="region:'center',title:'招聘计划列表'" style="padding:5px;">
    <table id="plan_datagrid"></table>
</div>


<div id="plan_btn2">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="plan_dialog">
    <body class="easyui-layout">
    <div data-options="region:'north',title:'招聘计划',split:true" style="height:100px;background-color:#eee">
        <form id="plan_form" method="post">
            <table cellspacing="0" cellpadding="0"  width="100%" align="center"
                   style="margin:15px;border-spacing:8px;border-collapse:separate; border-spacing:8px;">
                <tr>
                    <td>计划类别</td>
                    <td><input name="type" class="easyui-combobox" prompt="请输入入计划类别"
                               data-options="url:'/dictionaryBill/selectBySn.do?sn=recruitPlanType',textField:'name',valueField:'id',panelHeight:'auto'"
                    ></td>
                    <td>计划名称:</td>
                    <td><input name="name" class="easyui-textbox" prompt="请输入入计划名称"></td>
                </tr>
                <tr>
                    <td>制定时间:</td>
                    <td><input name="planDate" class="easyui-datebox"></td>
                    <td>制定人:</td>
                    <td><input name="planMan" class="easyui-textbox" prompt="请输入入制定人"></td>
                </tr>
                <tr>
                    <td>执行截止时间:</td>
                    <td><input name="doDate" class="easyui-datebox"></td>
                    <td>备注:</td>
                    <td><input class="easyui-textbox"></td>
                </tr>
            </table>
        </form>
    </div>
    <div data-options="region:'center',title:'招聘计划明细'" style="padding:5px;height: 350px;">
        <table id="tt" style="width:600px;height:200px">

            <thead>
            <tr>
                <th data-options="field:'job',editor:'text',width:50">招聘职位</th>
                <th data-options="field:'method',editor:'text',width:50,editor:{
                    type:'combobox',
                    options:{
                    valueField:'name',
                    panelHeight:'auto',
                    textField:'name',
                    url:'/dictionaryBill/selectBySn.do?sn=method',
                    required:true
                    }
                    }">招聘方式
                </th>
                <th data-options="field:'form',align:'right',editor:'text',width:50,editor:{
                    type:'combobox',
                    options:{
                    valueField:'name',
                    panelHeight:'auto',
                    textField:'name',
                    url:'/dictionaryBill/selectBySn.do?sn=form',
                    required:true
                    }
                    }">聘用形式</th>
                <th data-options="field:'number',align:'right',editor:'text',width:50">人数</th>
                <th data-options="field:'education',editor:'text',width:50,editor:{
                    type:'combobox',
                    options:{
                    valueField:'name',
                    panelHeight:'auto',
                    textField:'name',
                    url:'/dictionaryBill/selectBySn.do?sn=education',
                    required:true
                    }
                    }">学历</th>
                <th data-options="field:'required',align:'center',editor:'text',width:50">技能要求</th>
                <th data-options="field:'rsalary',align:'center',editor:'text',width:50">薪资情况</th>
                <th data-options="field:'remark',align:'center',editor:'text',width:50">备注</th>
            </tr>
            </thead>
        </table>
    </div>
    </body>
</div>


<div id="plan_tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="del">删除</a>
    <a href="#" class="easyui-linkbutton" id="changeState_btn" data-options="iconCls:'icon-ok',plain:true"
       data-cmd="changeState">审核</a>

    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>

<div id="tb">
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-add',plain:true" onclick="add1()">新增</a>
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-remove',plain:true" onclick="del()">删除</a>
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-reload',plain:true" onclick="relo()">刷新</a>
</div>

</body>
</html>














